#include "ServerParam.h"
#include <cstring>
#include <cstdlib>

ServerParam & ServerParam::instance()
{
    static ServerParam mServerParam;
    return mServerParam;
}

void ServerParam::init(int argc, char *argv[])
{
    this->setHost(argv[2]);
    this->setPort(atoi(argv[3]));
}
